package com.pubinfo.passbook.common.service.master;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pubinfo.passbook.common.entity.TFileEnclosureFtp;
import com.pubinfo.passbook.common.entity.TFileInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author xuhong
 * @since 2021-12-07
 */
public interface ITFileEnclosureFtpService extends IService<TFileEnclosureFtp> {
  Boolean updateTFileEnclosureFtp(String instanceId, String http);
  
  List<TFileEnclosureFtp> getTFileEnclosureFtpByIds(List<String> tFileEnclosureFtpIds);

  /**
   * 根据instanceId查询相关附件
   * @param instanceId
   * @return
   */
  List<TFileInfo> selectEnclosureByInstanceId(String instanceId);
}
